package com.freesky.web.portal.reomte;

import com.freesky.common.utils.reponse.JSONResponse;
import com.freesky.web.portal.reomte.fallback.HomeRotationChartRemoteFallback;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "emall-provider-zuul", fallback = HomeRotationChartRemoteFallback.class)
public interface HomeRotationChartRemote {
    String ZUUL_URL_PREFIX = "/mysevice/content";
    @GetMapping(value = ZUUL_URL_PREFIX + "/home/rotation-chart/portal/list")
    JSONResponse portalList();

}
